package com.smartmedical.system.domain;

import java.util.Date;

public class UserPush {
    private Long id;  // 主键ID
    private int userId;  // 用户ID
    private String token;  // 访问令牌
    private Date createTime;  // 创建时间


    @Override
    public String toString() {
        return "UserPush{" +
                "id=" + id +
                ", userId=" + userId +
                ", token='" + token + '\'' +
                ", createTime=" + createTime +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public UserPush() {
    }

    public UserPush(Long id, int userId, String token, Date createTime) {
        this.id = id;
        this.userId = userId;
        this.token = token;
        this.createTime = createTime;
    }
}
